package com.biz.service.MService.merchant;

import com.biz.model.Hmodel.base.TBaseBrand;
import com.biz.model.Hmodel.base.TWxGoods;
import com.biz.model.common.MessageBox;
import com.biz.service.HService.base.BaseServiceI;

import java.util.List;
import java.util.Map;

/**
 *
 */
public interface MerchantServiceI extends BaseServiceI<TWxGoods> {

    /**
     * 登录
     * @param loginName
     * @param pwdMd5
     * @return
     */
    MessageBox doLoginByPwd(String loginName, String pwdMd5);


    /**
     * 获取
     */
    TBaseBrand getTbaseBrandById(String merchantId);

    /**
     * 加载记录
     */
    List<Map<String,Object>> getRecordByMerchantId(String id)throws Exception;

    /**
     * 商户核销
     */
    MessageBox merchantDoCharge(String merchantId, String code);
}
